package com.chima.service;
import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import com.chima.domain.Job;
import com.chima.domain.JobDetail;
import com.chima.domain.PageRequestBean;
import com.chima.domain.PageResponseBean;
@Transactional
public interface JobDetailService {
	public PageResponseBean findJobDetail(PageRequestBean pageRequestBean);
	public void saveJobDetail(JobDetail jobDetail); 
	public void deleteJobDetailByjobId(int jobid); 
	public void deleteJobDetailById(int id); 
	public void updataJobDetail(List<JobDetail> jobDetail); 
	public void updataJobDetail(JobDetail jobDetail); 
	public List<JobDetail> findJobDetailByEmpIdAndJob(int EmpId,Job job); 
	public List<JobDetail> findJobDetailByJobId(int JobId); 
	public List<JobDetail> findJobDetailByStepAndJobId(int step,int jobId); 
	public JobDetail findJobById(int id);
	public List<JobDetail> findAll();
	public List<JobDetail> findByDateAndDepart( String date,int depart);
	public void updateBatch(Double actualcore,double pingji,int id);
	public void updatePingji(Double pingji,int id);
	public List<JobDetail> findJobDetailByJobAndDate(String jobid,String date);
	public List<JobDetail>findJobDetailByJobAndStartDateAndDepart(String jobid,String date,int depart) ;
	
	public List<JobDetail> findBydata1( String date);
	public List<JobDetail>findJobDetailByJobAndDepart(String jobid,int depart) ;
	public JobDetail findById(int id);
	public List<JobDetail> findJobDetailByEmpAndDateAndJob(int EmpId, String date,Job job); 
	public List<JobDetail> findByweekJob(int empId,Job job,String state);
	public List<JobDetail> findXMJobDetailByEmpAndDateAndJob(int EmpId, String date,Job job); 
	public List<JobDetail> findJobDetailByEmpIdAndJobAndstateAndTastproty(int EmpId,Job job,String state,int proty); 
	public List<JobDetail> findByDateAndDepartAndState( String date,int depart,String state);
	public List<JobDetail> findCXJobDetailByEmpAndDateAndJob(int EmpId, String date,Job job); 
	public List<JobDetail> findLXMJobDetailByEmpAndDateAndJob(int EmpId, String date,Job job,int tastpropty); 
	public List<JobDetail> findCreatXMJobDetail (int EmpId, String date,Job job,int tastpropty); 
	
	
	public PageResponseBean findCraetJobDetail(PageRequestBean pageRequestBean);
	public List<JobDetail> findCreatJobDetail(int EmpId,Job job,String state,int proty); 

	
}
